package com.shylock.as.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@TableName("t_osslog")
public class OssLog {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private int type;//类型
    private String bname;
    private String objname;
    private String preurl;
    private Date etime;
    private Date ctime;

    public OssLog(int type, String bname, String objname, String preurl, Date etime, Date ctime) {
        this.type = type;
        this.bname = bname;
        this.objname = objname;
        this.preurl = preurl;
        this.etime = etime;
        this.ctime = ctime;
    }
}
